using System.Threading.Tasks;
using JoyfulHomeJourney.BackEnd.Infrastructure.Atrributes;
using JoyfulHomeJourney.BackEnd.Infrastructure.Dtos.Requests.Objects;
using JoyfulHomeJourney.BackEnd.Infrastructure.Dtos.Responses;
using JoyfulHomeJourney.BackEnd.Infrastructure.EFCore;
namespace JoyfulHomeJourney.BackEnd.Server.Interfaces
{
    [ProvideClassOrInterface]
    public interface ISysErrorLogsServer
    {
        Task<int> AddAsync(SysErrorLogs log);
        
        Task<ResponseApiDto> PaginationAsync(int page, int limit,string key);
    }
}